﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage/Content.Master" AutoEventWireup="true" CodeBehind="MyAttentionList.aspx.cs" Inherits="RED_NET.ContentPage.User.MyAttentionList" Title="无标题页" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
<div align="center">
<link href="../../Image_Css/NewsCss/MyAttentionListCss.css" rel="Stylesheet" type="text/css" />
 <p id="p1">关注列表</p>
 <br />
    <asp:GridView ID="GridView_MyAttention" runat="server" AutoGenerateColumns="False"  AllowPaging="true"  PagerSettings-Mode="Numeric" Width="60%" 
        onrowcreated="GridView_MyAttention_RowCreated" ShowHeader="False"  OnPageIndexChanging="GridView_MyAttention_PageIndexChanging"
         AutoGenerateDeleteButton="False" AlternatingRowStyle-Wrap="False"       OnRowCommand="GridView_MyAttention_RowCommand" BorderColor="White"
          BorderWidth="1px"
         >
    <Columns> 
    <asp:TemplateField >
                    <ItemTemplate>
                    <table id="tb">
                    <tr>
                   <td id="td1">
<asp:Image ID="avatar" runat="server" Height="75px"   Width="75px" ImageUrl='<%#Eval("_AvatarUrl")%>' />
</td>
 
 <td id="td2">
 
     <asp:LinkButton ID="LinkButton_MainPage" runat="server" Font-Bold="true" ForeColor="Gray" Font-Size="XX-Large" Text='<%#Eval("_NickName")%>' PostBackUrl='<%#"~/ContentPage/User/MainPage.aspx?VISIT_ID="+Eval("_UId")%>'></asp:LinkButton>
 </td>
 <td id="td3">
        <asp:LinkButton ID="LinkButton_Delete" runat="server" CommandName="delete"  Text="取消关注"></asp:LinkButton>
 </td>
 </tr>
                      </table>
                    </ItemTemplate>
                    
 </asp:TemplateField>
    <asp:BoundField DataField="_UId" />
     <asp:BoundField DataField="_Id" />

  
    </Columns>
    </asp:GridView>
    </div>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder3" runat="server">
</asp:Content>
